import VueRouter from "vue-router"


import HomeContainer from "./components/nav/HomeContainer.vue"
import ReadContainer from "./components/nav/ReadContainer.vue"
import RadioContainer from "./components/nav/RadioContainer.vue"
import AboutContainer from "./components/nav/AboutContainer.vue"
import MassageInfo from "./components/info/MassageInfo.vue"






const router = new VueRouter({
    routes: [
        { path:"/",redirect: "./home" },
        { path:"/home",component: HomeContainer },
        { path:"/read",component: ReadContainer },
        { path:"/radio",name:'radio',component: RadioContainer },
        { path:"/about",component: AboutContainer },
        { path:"/zixun",component: ReadContainer },
        { path:"/read/readIfo/:id",name:'readIfo',component: MassageInfo },
        { path:"/zixun/zixunIfo/:id",name:'zixunIfo',component: MassageInfo }
    ]
});

export default router